package com.zjw.yyyy2021.mmdd0923;

/**
 * <p>TODO</p>
 *
 * @author 郑大仙丶
 * @version V1.0.0
 * @date 2021/9/23 20:01
 */
public class MMdd0923 {

    public boolean isPowerOfThree(int n) {
        int i = (int) Math.pow(3,19);
        return n > 0 && i % n == 0;
    }

}
